package com.ruoyi.common.core.redis;

/**
 * @AUTHOR XiaoYang
 * @DATE 2025/1/10
 * @DESCRIPTION Redis前缀枚举
 */
public enum RedisPrefix {

    CAPTCHA("captcha_", "存储手机验证码"),
    ;

    private final String key;
    private final String message;

    RedisPrefix(String key, String message) {
        this.key = key;
        this.message = message;
    }

    public String key() {
        return this.key;
    }

    public String message() {
        return this.message;
    }
}
